From: Florian Müllner Date: Mon, 8 Jul 2019 18:14:35 +0000 (+0200) Subject: cleanup: Fix style nits in last commit X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~845^2^2~62 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=54736377368989c73fdb03cc0ad87e86350d43dd;p=gnome-shell.git cleanup: Fix style nits in last commit Missing space after catch and wrong double quotes. --- diff --git a/js/ui/endSessionDialog.js b/js/ui/endSessionDialog.js index f4950ba84..ead7eae78 100644 --- a/js/ui/endSessionDialog.js +++ b/js/ui/endSessionDialog.js @@ -353,8 +353,8 @@ class EndSessionDialog extends ModalDialog.ModalDialog { // It only makes sense to check for this permission if PackageKit is available. try { this._updatesPermission = Polkit.Permission.new_sync( - "org.freedesktop.packagekit.trigger-offline-update", null, null); - } catch(e) { + 'org.freedesktop.packagekit.trigger-offline-update', null, null); + } catch (e) { log('No permission to trigger offline updates: %s'.format(e.toString())); } }